<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			/* var Car = function(color){
				this.color = color;
				this.name = 'BMW';
			}
			//var color = prompt("请输入车的颜色：");
			var car = new Car("black");
			//car.color = black;
			console.log(car.name+car.color); */
			var st = new String('abcd');
			console.log(st);
			//st.length=2;
			//console.log(st);
			// new String("abcd").length=2;
			// console.log(String);
			
		</script>
	</head>
	<body>
	</body>
</html>
